package com.lxyk.service;

import com.github.pagehelper.PageInfo;
import com.lxyk.pojo.History;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName HistoryService
 * @Description TODO
 * @Author FJQ
 * @Date 2022/10/25 9:26
 * @Version 1.0
 **/
public interface HistoryService {
    List<History> listHistory();

    //查询所有历史信息
    List<History> queryHistory(Map<String, Object> map);

    PageInfo<History> listHistory(Map<String, Object> map,Integer pageNum,Integer pageSize);

    int addHistory(History history);

    History getHistoryById(Integer hid);

    int updateHistory(History history);

    int batchDeleteHistory(String idList);

}
